package com.example.accessdemo.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.accessdemo.domain.CustomPage;
import com.example.accessdemo.domain.SysNotice;
import com.example.accessdemo.service.SysNoticeService;
import com.example.accessdemo.mapper.SysNoticeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author kuangdda
* @description 针对表【sys_notice(通知公告表)】的数据库操作Service实现
* @createDate 2023-06-01 14:20:39
*/
@Service
public class SysNoticeServiceImpl extends ServiceImpl<SysNoticeMapper, SysNotice>
    implements SysNoticeService{
    
    @Autowired
    SysNoticeMapper  sysNoticeMapper;
    
    @Override
    public CustomPage<SysNotice> selectData(CustomPage<SysNotice> page) {
        return sysNoticeMapper.selectData(page);
    }
}




